package com.ecut.xzh.service;

import com.ecut.xzh.dto.UserLoginDTO;
import com.ecut.xzh.dto.UserRegisterDTO;
import com.ecut.xzh.entity.User;
import com.ecut.xzh.vo.UserLoginVO;
import org.springframework.stereotype.Service;

/**
 * @author XZH
 */
public interface UserService {
    /**
     * 用户登录
     * @param userLoginDTO
     * @return
     */
    User login(UserLoginDTO userLoginDTO);

    /**
     * 用户注册
     * @param userRegisterDTO
     */
    void register(UserRegisterDTO userRegisterDTO);
}
